FDUP

Section: MiNT SYSTEM CALLS (2)
Updated: 3 March 1993
Index Return to Main Contents
 

NAME

Fdup - duplicate a standard file handle  

SYNOPSIS

#include <osbind.h>

int Fdup(int handle);
 

DESCRIPTION

A duplicate file handle is returned for the standard handle indicated by handle. Standard handles are:

  0   keyboard (stdin)
  1   screen (stdout)
  2   serial port
  3   parallel port
  4   MIDI input        (MiNT)
  5   MIDI output       (MiNT)  

SEE ALSO

Fforce(2), Fcntl(2)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 11:13:58 GMT, June 22, 2025